<?php

class Queries_create_admin extends SQLAction{
	
	/**
	* SQL query
	*/
	var $sql;
		
	/**
	 * Crea la entrada para el administrador en la tabla care_users
	 * @params $admin_user, $admin_pass
	 * jl
	 */
	function insert_admin_care_users($admin_user, $admin_pass){
		$sql = "INSERT INTO care_users (name, login_id, password, permission, exc, modify_id, create_id) VALUES ('admin', '".$admin_user."', '".$admin_pass."', 'System_Admin', 1, 'auto-installer', 'auto-installer')";
		return $sql;
	}
}
?>
